using SQLite;

namespace FileImportSystem2.Db.Entities;

/// <summary>
/// 神州明细数据实体
/// </summary>
public class ShenzhouData
{


    /// <summary>
    /// 日期
    /// </summary>
    public string 日期 { get; set; } = null!; // "yyyy-MM-dd"

    /// <summary>
    /// 单号
    /// </summary>
    [PrimaryKey]
    public string 单号 { get; set; } = string.Empty;

    public string 扫描时间 { get; set; } = string.Empty;


    /// <summary>
    /// 结算对象
    /// </summary>
    public string 结算对象 { get; set; } = string.Empty;

    /// <summary>
    /// 分部
    /// </summary>
    public string 分部 { get; set; } = string.Empty;

    public string 运单发放 { get; set; } = string.Empty;

    /// <summary>
    /// 揽收业务员
    /// </summary>
    public string 揽收业务员 { get; set; } = string.Empty;

    public double 结算重量 { get; set; }
    public string 目的省 { get; set; } = string.Empty;
    public string 目的市 { get; set; } = string.Empty;
    public string 运单使用网点 { get; set; } = string.Empty;
    public string 备注 { get; set; } = string.Empty;

    /// <summary>
    /// 发件仓
    /// </summary>
    public string 发件仓 { get; set; } = string.Empty;

    /// <summary>
    /// 发件仓是否匹配成功
    /// </summary>
    public int Is发件仓Matched { get; set; } = 0;// 0: 未匹配, 1: 已匹配

    /// <summary>
    /// 发件仓是否匹配成功
    /// </summary>
    public int Is分部Matched { get; set; } = 0;// 0: 未匹配, 1: 已匹配

    /// <summary>
    /// 导入时间
    /// </summary>
    public string ImportTime { get; set; } = string.Empty;

    public string 备注1 { get; set; } = string.Empty;
    public string 备注2 { get; set; } = string.Empty;
    public string 备注3 { get; set; } = string.Empty;

}